<?php
// $Id: AdminController.php 605 2012-12-15 05:07:41Z tomqin@gmail.com $

/**
 * Part of the framework.
 *
 * @package     Controller
 * @version     1.0
 * @copyright   Copyright (C) 2010-2012 SupeFun.com Inc.
 * @author      TomQin <tomqin@gmail.com>
 * @license     http://www.supefun.com/license/
 */

class AdminController extends Controller
{
    public $userInfo;

    public function __construct(){}

    public function renderMessage($msg, $href = null, $func = null){
        $this->setVar('message',  $msg);
        $this->setVar('linkhref', $href);
        $this->setVar('callback', $func);
        $this->render('admin.message');
    }
}
